<script type="text/template" id="template-label-assign-view">
header.modal-header
 button#close-board-edit.close.js-close-label-window ×
 h3 Label
div.modal-body
 ul.label-items
   each relation in relations
     if relation.selected
       li.checked(id=relation._id, style='background-color:' + relation.color)
         span √
     else
       li(id=relation._id, style='background-color:' + relation.color)
         span √
</script>